package com.retail.lottery.colalottery.service;

import com.retail.lottery.colalottery.entity.ColaQuestionBank;

public interface QuestionCommonCacheService {

    /**
     * 查询题目详情
     * @param buCode
     * @param setupId
     * @return
     */
    ColaQuestionBank queryColaQuestionBank(String buCode, String setupId, String nowDate);

    /**
     * 查询题目详情
     * @param questionId
     * @return
     */
    ColaQuestionBank queryColaQuestionBankById(String buCode, String setupId, Integer questionId);


    /**
     * 查询用户的答题记录，是否通过
     * @param questionId
     * @param openId
     * @return
     */
    boolean queryCustomerAnswerResult(Integer questionId, String openId, String oneid);
}
